package com.longe.exception;

import lombok.Data;

/**
 * 自定义异常
 */
@Data
public class ServiceException extends RuntimeException {

   private String code;

   public ServiceException(String code) {
      this.code = code;
   }

}
